<?php

use yii\db\Migration;

/**
 * Handles adding columns to table `{{%library_book}}`.
 */
class m230522_114957_add_publisher_column_to_library_book_table extends Migration
{
    /**
     * {@inheritdoc}
     */
    public function safeUp()
    {
        $this->addColumn('{{%library_book}}', 'publisher', $this->string());
    }

    /**
     * {@inheritdoc}
     */
    public function safeDown()
    {
        $this->dropColumn('{{%library_book}}', 'publisher');
    }
}
